Class: Moceansdk::Modules::Command::Mc
- Inherits:
-
Object
- Object
- Moceansdk::Modules::Command::Mc
- Defined in:
- lib/moceansdk/modules/command/mc.rb
Class Method Summary collapse
- .send_sms ⇒ Object
- .tg_request_contact ⇒ Object
- .tg_send_animation ⇒ Object
- .tg_send_audio ⇒ Object
- .tg_send_document ⇒ Object
- .tg_send_photo ⇒ Object
- .tg_send_text ⇒ Object
- .tg_send_video ⇒ Object
Class Method Details
.send_sms ⇒ Object
34 35 36 |
# File 'lib/moceansdk/modules/command/mc.rb', line 34 def self.send_sms() McObject::SendSMS.new end |
.tg_request_contact ⇒ Object
30 31 32 |
# File 'lib/moceansdk/modules/command/mc.rb', line 30 def self.tg_request_contact() McObject::TgRequestContact.new end |
.tg_send_animation ⇒ Object
14 15 16 |
# File 'lib/moceansdk/modules/command/mc.rb', line 14 def self.tg_send_animation() McObject::TgSendAnimation.new end |
.tg_send_audio ⇒ Object
10 11 12 |
# File 'lib/moceansdk/modules/command/mc.rb', line 10 def self.tg_send_audio() McObject::TgSendAudio.new end |
.tg_send_document ⇒ Object
18 19 20 |
# File 'lib/moceansdk/modules/command/mc.rb', line 18 def self.tg_send_document() McObject::TgSendDocument.new end |
.tg_send_photo ⇒ Object
22 23 24 |
# File 'lib/moceansdk/modules/command/mc.rb', line 22 def self.tg_send_photo() McObject::TgSendPhoto.new end |
.tg_send_text ⇒ Object
6 7 8 |
# File 'lib/moceansdk/modules/command/mc.rb', line 6 def self.tg_send_text() McObject::TgSendText.new end |
.tg_send_video ⇒ Object
26 27 28 |
# File 'lib/moceansdk/modules/command/mc.rb', line 26 def self.tg_send_video() McObject::TgSendVideo.new end |