wa_me package¶
Subpackages¶
- wa_me.classes package
- Submodules
- wa_me.classes.enums module
ComponentSubType
ComponentType
HeaderType
InfoType
InteractiveType
MediaType
MessageType
MessageType.audio
MessageType.button
MessageType.contacts
MessageType.document
MessageType.image
MessageType.interactive
MessageType.location
MessageType.order
MessageType.reaction
MessageType.sticker
MessageType.system
MessageType.template
MessageType.text
MessageType.unknown
MessageType.unsupported
MessageType.video
OriginType
ParameterType
PhoneType
PricingType
SourceType
StatusType
SystemUpdateType
Type
- wa_me.classes.events module
Address
Audio
Button
ButtonReply
Change
Contact
Context
Conversation
Customer
Document
Email
Entry
Error
Event
Identity
Image
Interactive
ListReply
Location
Media
MediaWithCaption
Message
Message.audio
Message.button
Message.contacts
Message.context
Message.document
Message.errors
Message.id
Message.identity
Message.image
Message.interactive
Message.location
Message.order
Message.reaction
Message.referral
Message.sender
Message.sticker
Message.system
Message.text
Message.timestamp
Message.type
Message.video
Metadata
Name
Order
Org
Origin
Phone
Pricing
Product
Profile
Reaction
Referral
ReferredProduct
Reply
Status
Sticker
System
Text
URL
Value
Video
- wa_me.classes.messages module
- wa_me.classes.responses module
- Module contents
- wa_me.core package
Submodules¶
wa_me.bot module¶
wa_me.context module¶
- class wa_me.context.Ctx(client: Client, data: Dict[str, Any])[source]¶
Bases:
object
- property datetime: Optional[datetime]¶
- property phone_id: str¶
- property reactions: List[str]¶
- property readed: bool¶
- property received_at: Optional[float]¶
- property recipient_id: Optional[str]¶
- property recipient_name: Optional[str]¶
- property replies_ids: List[str]¶
- send_audio(audio_id: Optional[str] = None, audio_url: Optional[str] = None, *, mention: bool = False) Optional[Response] [source]¶
- send_contacts(contacts_data: List[Dict[str, Any]], *, mention: bool = False) Optional[Response] [source]¶
- send_document(document_id: Optional[str] = None, document_url: Optional[str] = None, *, caption: Optional[str] = None, filename: Optional[str] = None, mention: bool = False) Optional[Response] [source]¶
- send_image(image_url: Optional[str] = None, image_id: Optional[str] = None, *, caption: Optional[str] = None, mention: bool = False) Optional[Response] [source]¶
- send_interactive(*, interactive_data: Dict[str, Any], mention: bool = False) Optional[Response] [source]¶
- send_location(latitude: float, longitude: float, *, name: Optional[str] = None, address: Optional[str] = None, mention: bool = False) Optional[Response] [source]¶
- send_options(text: str, options: List[Dict[str, Any]], *, button: str, title: str, header_text: Optional[str] = None, footer_text: Optional[str] = None, mention: bool = False) Optional[Response] [source]¶
- send_quick_replies(text: str, quick_replies: List[Dict[str, Any]], *, mention: bool = False) Optional[Response] [source]¶
- send_sticker(sticker_id: Optional[str] = None, sticker_url: Optional[str] = None, *, mention: bool = False) Optional[Response] [source]¶
- send_video(video_id: Optional[str] = None, video_url: Optional[str] = None, *, caption: Optional[str] = None, mention: bool = False) Optional[Response] [source]¶
- property timestamp: Optional[int]¶